/* =========================================================
   Outcome Why block ("Why ConnexR" cards)
   File: wwwroot/css/outcome-why.css
   Used by: Views/Partials/blocklist/Components/outcomeWhyBlock.cshtml
   Fluid layout — same scaling as the other Outcome blocks.
   ========================================================= */

.oc-why {
  box-sizing: border-box;
  --oc-navy: #13204a;
  --oc-orange: #f58a2e;
  --oc-peach: #fde9dc;
  --oc-card: #f7f9fb;
  --oc-border: #e3e7ee;
  --oc-muted: #5a6475;
  --oc-gutter: 6.8vw;

  width: 100%;
  background: #fff;
  padding: clamp(48px, 7vw, 180px) var(--oc-gutter) clamp(48px, 5.6vw, 144px);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--oc-navy);
  -webkit-font-smoothing: antialiased;
}
.oc-why *, .oc-why *::before, .oc-why *::after { box-sizing: border-box; margin: 0; padding: 0; }

.oc-why__eyebrow {
  font-size: clamp(11px, 0.88vw, 22px);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: clamp(16px, 2.2vw, 56px);
}
.oc-why h2 {
  font-weight: 600;
  font-size: clamp(22px, 2vw, 52px);
  line-height: 1.35;
  letter-spacing: normal;
  text-transform: none;
  color: var(--oc-navy);
}

/* ---------- CARDS ---------- */
.oc-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 44px);
  margin-top: clamp(20px, 2.4vw, 62px);
  list-style: none;
}
.oc-why__card {
  display: flex;
  flex-direction: column;
  background: var(--oc-card);
  border: 1px solid var(--oc-border);
  padding: clamp(22px, 2.2vw, 56px);
  min-height: clamp(280px, 27.6vw, 710px);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.oc-why__card:hover {
  border-color: #f6c7a1;
  box-shadow: 0 10px 28px rgba(19, 32, 74, .07);
  transform: translateY(-3px);
}

.oc-why__icon {
  display: grid;
  place-items: center;
  width: clamp(40px, 3.4vw, 88px);
  height: clamp(40px, 3.4vw, 88px);
  border-radius: 50%;
  background: var(--oc-peach);
  margin-bottom: clamp(20px, 2.3vw, 60px);
}
.oc-why__icon svg,
.oc-why__icon img {
  width: 48%;
  height: 48%;
  object-fit: contain;
}
.oc-why__icon svg {
  fill: none;
  stroke: var(--oc-orange);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.oc-why__card h3 {
  font-weight: 600;
  font-size: clamp(16px, 1.36vw, 36px);
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: none;
  color: var(--oc-navy);
  margin-bottom: clamp(14px, 1.6vw, 42px);
}
.oc-why__text {
  font-family: "DM Sans", "Poppins", sans-serif;
  font-size: clamp(12px, 0.88vw, 23px);
  line-height: 1.7;
  color: var(--oc-muted);
  padding-bottom: clamp(16px, 1.9vw, 48px);
  margin-bottom: clamp(16px, 1.9vw, 48px);
  border-bottom: 1px solid var(--oc-border);
}
.oc-why__receive-label {
  font-family: "DM Sans", "Poppins", sans-serif;
  font-size: clamp(12px, 0.9vw, 23px);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--oc-muted);
  margin-bottom: 0.35em;
}
.oc-why__receive {
  font-family: "DM Sans", "Poppins", sans-serif;
  font-size: clamp(12px, 0.88vw, 23px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--oc-navy);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .oc-why { --oc-gutter: 32px; }
  .oc-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-why__card { min-height: 0; }
}
@media (max-width: 560px) {
  .oc-why { --oc-gutter: 20px; }
  .oc-why__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .oc-why__card { transition: none; }
  .oc-why__card:hover { transform: none; }
}